package com.maweirdos.maicode;

import dev.langchain4j.community.store.embedding.redis.spring.RedisEmbeddingStoreAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 排除RedisEmbeddingStoreAutoConfiguration，因为RedisEmbeddingStoreAutoConfiguration会自动注册RedisEmbeddingStore，
 * 但是在本项目中不做向量存储
 */
@SpringBootApplication(exclude = {RedisEmbeddingStoreAutoConfiguration.class})

@MapperScan("com.maweirdos.maicode.mapper")

public class MAiCodeApplication {

    public static void main(String[] args) {
        SpringApplication.run(MAiCodeApplication.class, args);
    }

}
